package com.xnyzc.lhy.resource.service.invoice;

import com.baiwang.bop.request.impl.invoice.impl.*;
import com.baiwang.bop.respose.entity.*;
import com.xnyzc.lhy.resource.entity.invoice.*;

/**
 * <p>
 * 电子发票服务
 * </p>
 *
 * @author haoyfa
 * @since 2019-10-24
 */
public interface IInvoiceService {
    /**
     * 发票开具
     */
    public InvoiceOpenResult invoiceOpenRequest(InvoiceParam invoiceParam);

    /**
     * 发票查询
     */
    public InvoiceQueryResponse invoiceQueryRequest(InvoiceQueryRequest request);

    /**
     * 发票作废
     */
    public ReInvoiceInvalidResult invoiceInvalidRequest(InvoiceInvalidParam request);

    /**
     * 板式文件生成
     */
    public InvoiceFormatFileResult formatfileBuildRequest(InvoiceFormatFileParam invoiceFormatFileParam);

    /**
     * 板式文件查询
     */
    public FormatfileQueryResponse formatfileQueryRequest(FormatfileQueryRequest request);
}
